package com.xuesaieducation.zshddemo;

import android.app.Activity;
import android.content.Context;
import android.os.Handler;

import com.gensee.entity.ChatMsg;
import com.gensee.entity.DocInfo;
import com.gensee.media.GSOLPlayer;

import java.util.List;

/**
 * Created by yutf on 2018/1/12 0012.
 */

public abstract class GenseeGSOLCallback implements GSOLPlayer.OnOLPlayListener
{
    private Activity mContext;
    private Handler mHandler;

    public GenseeGSOLCallback(Activity mContext)
    {
        this.mContext = mContext;
    }

    @Override
    public void onInit(int i, boolean b, int i1, List<DocInfo> list)
    {
        mHandler.post(new Runnable()
        {
            @Override
            public void run()
            {

            }
        });
    }

    @Override
    public void onPlayStop()
    {

    }

    @Override
    public void onPlayPause()
    {

    }

    @Override
    public void onPlayResume()
    {

    }

    @Override
    public void onPosition(int i)
    {

    }

    @Override
    public void onVideoSize(int i, int i1, int i2)
    {

    }

    @Override
    public void onPageSize(int i, int i1, int i2)
    {

    }

    @Override
    public void onSeek(int i)
    {

    }

    @Override
    public void onAudioLevel(int i)
    {

    }

    @Override
    public void onCaching(boolean b)
    {

    }

    @Override
    public void onVideoStart()
    {

    }

    @Override
    public void onChat(List<ChatMsg> list)
    {

    }

    @Override
    public void onDocInfo(List<DocInfo> list)
    {

    }

    @Override
    public void onError(int i)
    {

    }
}
